// ipc_name
exports.IPC_NAME = 'ELECTRON_SUGAR:IPC_NAME';
// request-response
exports.REQUEST_REPONSE = 'ELECTRON_SUGAR:REQUEST/RESPONSE';
exports.REQUEST = 'ELECTRON_SUGAR:REQUEST';
// response
exports.RESPONSE = 'ELECTRON_SUGAR:RESPONSE';
// publisher 发布者
exports.PUBLISHER = 'ELECTRON_SUGAR:PUBLISHER';
// subscriber 订阅者
exports.SUBSCRIBER = 'ELECTRON_SUGAR:SUBSCRIBER';
// 取消订阅
exports.UNSUBSCRIBER = 'ELECTRON_SUGAR:UNSUBSCRIBER';
// publisher_subscriber
exports.PUBLISHER_SUBSCRIBER = 'ELECTRON_SUGAR:PUBLISHER/SUBSCRIBER';
// response_ok
exports.RESPONSE_OK = 0; // 找不到服务响应注册
// service_not_found
exports.SERVICE_NOT_FOUND = 1; // 找不到服务
// response_not_found
exports.RESPONSE_NOT_FOUND = 2; // 找不到服务响应注册
// response_overtime
exports.RESPONSE_OVERTIME = 3; // 响应超时
